package net.chenlin.dp.modules.business.service;


import net.chenlin.dp.common.entity.Page;
import net.chenlin.dp.common.entity.R;
import net.chenlin.dp.modules.business.entity.dto.DeviceDto;
import net.chenlin.dp.modules.business.entity.vo.device.Device;

import java.util.Map;

/**
 * 终端管理
 * @author yangsm
 */
public interface TerminalDeviceManageService {

    Page<Device> getTerminalList(Map<String, Object> params);

    R getDeviceInfo(String deviceNo);

    R createDevice(DeviceDto dto);

    R editDevice(DeviceDto dto);

    R getDevice(Long id);

    R deleteDevice(Long id);


}
